# open nomachine
sudo systemctl stop lightdm
sudo /etc/NX/nxserver --restart
# open camera
sudo chmod 777 /dev/video*
# start detection
python3 cv2_test.py
python3 check_detection.py